package com.example.iot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.iot.entity.App;
import com.example.iot.entity.AppAndUpgrade;
import com.example.iot.service.AppService;
import com.example.iot.mapper.AppMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 18364
* @description 针对表【app】的数据库操作Service实现
* @createDate 2023-09-26 17:44:41
*/
@Service
public class AppServiceImpl extends ServiceImpl<AppMapper, App>
    implements AppService{
    @Autowired
    AppMapper appMapper;

    @Override
    public List<AppAndUpgrade> selectAll(String deviceId) {
        List<AppAndUpgrade> list=appMapper.selectAll(deviceId);
        return list;
    }
}




